import { getRequest } from '@/api/MyRequest'

export default {
  // 下载密钥
  publickey: () => {
    const request = getRequest()
    return request.post('pub/gm/publickey')
  },
  // 登录
  login: (params) => {
    const request = getRequest()
    return request.post('pub/gm/login', params)
  },
  test: () => {
    const request = getRequest()
    return request.post('api/gm/test')
  }
}
